﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SMTC.Model.Model;
using SMTC.Dao.BaseInfo;
namespace SMTC.BO.BaseInfo
{
    public   class ProductionUnitProccessServices
    {
        ProductionUnitProccessDao dao;
        public ProductionUnitProccessServices() { dao = new ProductionUnitProccessDao(); }

        public bool InsertPU(SMT_ProductionUnitModel PU)
        {
            return dao.InsertPU(PU);
        }

        public bool UpdatePU(SMT_ProductionUnitModel PU)
        {
            return dao.UpdatePU(PU);
        }

        public bool DelPUByPUID(string PUID)
        {
            return dao.DelPUByPUID(PUID);
        }

        public bool CopyPuVersion(string OldVersion, string newVersion)
        {
            return dao.CopyPuVersion(OldVersion, newVersion);
        }
    }
}
